<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>

<title>acceleration test</title>
<script>
var lx = document.getElementById("lx");
var ly = document.getElementById("ly");
var lz = document.getElementById("lz");
window.addEventListener('devicemotion', function(event) {
          lx.textContent = "accel X" + event.acceleration.x + ' m/s2';
          ly.textContent = "accel Y" + event.acceleration.y + ' m/s2';
          lz.textContent = "accel Z" + event.acceleration.z + ' m/s2';
     });
</script>
</head>
<body>
<label id="lx">X</label><br>
<label id="ly">Y</label><br>
<label id="lz">Z</label><br>
<div id="mydiv">Moby-Dick; or, The Whale (1851) is the sixth book by American writer Herman Melville. The work is an epic sea story of Captain Ahab's voyage in pursuit of a certain sperm whale that he calls Moby Dick (with no hyphen; but some editions of the book change either the title or the whale's name to make them consistent). A contemporary commercial failure and out of print at the time of the author's death in 1891, its reputation rose during the twentieth century. D.H. Lawrence called it "the greatest book of the sea ever written."[1] Jorge Luis Borges praised the style: "Unforgettable phrases abound."[2] Today it is considered one of the Great American Novels and a leading work of American Romanticism.

The opening line, "Call me Ishmael", is one of the most recognizable opening lines in Western literature. Ishmael then narrates the voyage of the whaleship Pequod, commanded by Captain Ahab. Ahab has one purpose: revenge on Moby Dick, a ferocious, enigmatic white whale which on a previous voyage destroyed Ahab's ship and severed his leg at the knee. The detailed and realistic descriptions of whale hunting and the process of extracting whale oil, as well as life aboard ship among a culturally diverse crew, are mixed with exploration of class and social status, good and evil, and the existence of God.</div>
</body>
</html>
